package com.sixth.docker.controller;

import com.sixth.core.entity.CareOrderItem;
import com.sixth.core.vo.R;
import com.sixth.docker.service.CareOrderItemService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 赵庆龙
 * @create: 2024-08-20 17:22
 **/
@RestController
@RequestMapping("/doctor/orderItem")
public class CareOrderItemController {
    @Autowired
    private CareOrderItemService orderItemService;
    @ApiOperation(value = "删除")
    @DeleteMapping("/delectById/{itemId}")
    public R<CareOrderItem> delectById(@PathVariable String itemId) {
        return orderItemService.delectById(itemId);
    }
}
